export const tableConfig = {
    headerOperation: [],
    search: [
        {
            key: 'time',
            type: 'datetimerange',
            name: '创建时间',
            modelValue: ''
        },
        {
            key: 'phone',
            type: 'text',
            name: '手机号码',
            modelValue: ''
        },
        {
            key: 'customerName',
            type: 'text',
            name: '姓名',
            modelValue: ''
        },
        {
            key: 'dataSource',
            type: 'select-multiple',
            name: '数据来源',
            modelValue: '',
            options: []
        },
        {
            key: 'systemSource',
            type: 'select',
            name: '系统来源',
            modelValue: '',
            options: []
        },
        {
            key: 'referrer',
            type: 'text',
            name: '分销人员',
            modelValue: ''
        }
        // {
        //     key: 'customerType',
        //     type: 'select',
        //     name: '客户类型',
        //     modelValue: '',
        //     options: []
        // }
    ],
    permission: ['GET:/api/system/manage/clues-high-seas'],
    table: {
        operationWidth: '82px',
        operation: [
            {
                type: 'detail',
                visible: true,
                permission: ['*'],
                className: '',
                name: '详情'
            }
        ],
        propName: {
            phone: '手机号码',
            customerName: '客户姓名',
            viewedClassName: '查看班别',
            area: '所在区域',
            // followStatus: '跟进状态',
            // customerType: '客户类型',
            dataSource: '数据来源',
            systemSource: '系统来源',
            referrerStr: '分销人员',
            createTime: '创建时间',
            lastViewedTime: '最后访问时间'
        },
        expandPropName: {},
        showSummary: false,
        selection: false,
        expand: false,
        index: false,
        isDialog: false,
        summaryArray: [],
        summaryType: '',
        sortable: [],
        switch: {
            disabled: false,
            permission: [],
            tooltip: {
                visible: false,
                content: ''
            }
        }
    }
}
